from LongUI.page.menu_page import MenuPage
from selenium.webdriver.common.by import By

class Page(MenuPage):
    # 点击刷新
    sx_loc=By.XPATH,'//*[@id="updateMenu"]/span'
    def sx(self):
        self.click(self.sx_loc)

    def sxpage(self):
        self.menupage()
        self.sx()